﻿<%@ WebHandler Language="C#" Class="CaegoryProduct_UpdateOrdersDown" %>

using System;
using System.Web;
using HNG.Portal.BLL;
using HNG.Portal.DAL;
using HNG.Portal.DAL.EntityClasses;
using HNG.Portal.DAL.FactoryClasses;
using HNG.Portal.DAL.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
public class CaegoryProduct_UpdateOrdersDown : IHttpHandler
{
    
    TblDanhMucSanPhamManager _TblDanhMucSanPhamManager = new TblDanhMucSanPhamManager();
    public void ProcessRequest (HttpContext context) {
        context.Response.ContentType = "text/html";
        string rtn="-1";
        int CateID = 0;
        try{CateID = Convert.ToInt32(context.Request.QueryString["id"].Trim());}
        catch{CateID = 0;}

        if (CateID != 0)
        {
            rtn = _TblDanhMucSanPhamManager.be_UpdateOrderDown(CateID).ToString();
        }
        context.Response.Write(rtn);
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}